package com.cloud.xtools.user.domain.query.admin;

import com.cloud.xtools.common.validator.annotation.EntityExist;
import com.cloud.xtools.user.domain.entity.Permission;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
public class PermissionQuery {

    @EntityExist(entity = Permission.class, message = "父级权限不存在")
    private Long parentId = null;
    // 分页参数
    private Integer pageNum = 1;
    private Integer pageSize = 10;
}
